package com.app.common;

import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

import java.util.LinkedList;
import java.util.Queue;

/**
 * Created by fanghui on 2017/10/3.
 */
@EnableScheduling
@Component
public class Constants {
    // 日期格式
    public static String BASEDATEFROMAT = "yyyy-MM-dd HH:mm:ss";
    public static String BASEDATEFROMATNONE = "yyyyMMddHHmmss";
    public static String BASEDATEFROMATSIMPLE = "yyyy-MM-dd";
    public static String BASEDATEFROMATYEAR = "yyyy";
    public static String BASEDATEFROMATYYMM= "yyyy-MM";
    public static String BASEDATEFROMATMMDDHHmm = "MM-dd HH:mm";
    public static String BASEDATEFROMATHHmm = "HH:mm";
    public static String BASEDATEFROMATSIMPLENONE = "yyyyMMdd";
    public static String BASEDATEFROMATHHmmNONE = "HHmm";
    public static String BASEDATEFROMATMM= "MM";
    public static String BASEDATEFROMATMMDD= "MMdd";
    public static String BASEDATEFROMATDD= "dd";
    public static String BASEDATEFROMATSIMPLEWEEK = "yyyy年MM月dd日  E";
    public static String BASEDATEFROMATSIMPLEMMDDWEEK = "MM月dd日  EEEE";
    public static String BASEDATEFROMATWEEK = "EEEE";
    public static String BASEDATEFROMATMMDDZN = "MM月dd日";
    public static String TIME_MONTHFIRSTDAY = "01";

    // 常用数据分隔符
    public static final String SPLIT_COMMA = ",";
    public static final String SPLIT_UNDERLINE = "_";
    public static final String SPLIT_VERTICALBAR = "|";
    public static final String SPLIT_SEMICOLON = ";";
    public static final String SPLIT_STRIPING = "-";
    public static final String SPLIT_START= "★";
    public static final String SPLIT_COLON = ":";
    public static final String SPLIT_POUND = "#";

    public static Queue<String> QUEUELIST = new LinkedList<String>();
}
